package com.he.simplefactorymodel.product.concreteproduct;

import com.he.simplefactorymodel.product.Operator;

import java.math.BigDecimal;

public class DivOpt<T extends BigDecimal> implements Operator<T> {


    @Override
    public T getResult(T o1, T o2) {
        return (T) o1.divide(o2);
    }

}
